<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>角色列表</title>
<%@include file="/WEB-INF/jsp/public/commons.jspf"%>
</head>
<body>
<ol class="breadcrumb">
  <li><a href="home_innerCentre.action">首页</a></li>
  <li><a href="role_list.action">角色管理</a></li>
  <li class="active">${id==null?'添加角色':'修改角色'}</li>
</ol>
<div class="well well-lg">
	<s:form action="role_%{id==null?'add':'edit'}">
	    <s:hidden name="id"></s:hidden>
	  <div class="form-group">
		<label for="name">角色名称</label>
		<s:textfield type="text" name="name" cssClass="form-control" />
	  </div>
	  <div class="form-group">
		<label for="name">角色描述</label>
		<s:textarea name="description" cssClass="form-control"></s:textarea>
	  </div>
	   <div class="form-group text-center" >
	   		<div class="row">
	   		<div class="col-sm-2 col-sm-offset-3">
				 <a href="javascript:history.go(-1);" class="btn btn-info">返回</a>
			 </div>
			 <div class="col-sm-2 col-sm-offset-1">
				<button type="submit" class="btn btn-success">保存</button>
			 </div>
	   		</div>
	   </div>
	 </s:form>
</div>
</body>
</html>